package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("树形结构VO")
@Data
public class TreeVo {

    @ApiModelProperty(value = "菜单名称")
    //展示的名字
    private String label;

    //对应的ID
    @ApiModelProperty(value = "菜单ID")
    private String value;

    //子节点
    @ApiModelProperty(value = "子菜单")
    private List<TreeVo> children;
}
